package inheritance;/*
 *  user:38917
 *  date:2025/5/4
 *  time:21:37
 */

public class Test {
    //
    public static void main1(String[] args) {
        Son son = new Son("father",48,"70kg",
                "son",18,"60kg");
        System.out.println("初始化前");
        son.sonPrint();
        son.sonTest();
        System.out.println("初始化后");
        son.sonPrint();
    }
    //
    public static void main2(String[] args) {
        Son son = new Son("father",48,"70kg",
                "son",18,"60kg");
        son.sonPrint();
    }
    //
    public static void main(String[] args) {
        Son son = new Son();
    }
}